package com.hjm.java.entity;

import java.util.Arrays;

public class Store {
    private Integer id;
    private String name;
    private String info;
    // [1,2,3]
    private int[] bg;
    // [1,2,3]
    private int[] home;
    private Integer owner;
    private Integer icon;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public int[] getBg() {
        return bg;
    }

    public void setBg(int[] bg) {
        this.bg = bg;
    }

    public int[] getHome() {
        return home;
    }

    public void setHome(int[] home) {
        this.home = home;
    }

    public Integer getOwner() {
        return owner;
    }

    public void setOwner(Integer owner) {
        this.owner = owner;
    }

    public Integer getIcon() {
        return icon;
    }

    public void setIcon(Integer icon) {
        this.icon = icon;
    }

    public Store(Integer id, String name, String info, int[] bg, int[] home, Integer owner, Integer icon) {
        this.id = id;
        this.name = name;
        this.info = info;
        this.bg = bg;
        this.home = home;
        this.owner = owner;
        this.icon = icon;
    }

    public Store() {
    }

    @Override
    public String toString() {
        return "Store{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", info='" + info + '\'' +
                ", bg=" + Arrays.toString(bg) +
                ", home=" + Arrays.toString(home) +
                ", owner=" + owner +
                ", icon=" + icon +
                '}';
    }
}
